footer{
    width: 100%;
    height: 3.5em;
    border-top: 1px solid #bbbbbb;
    max-width: 640px;
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: #FFF;
}
footer ul{
    display:block;
    width: 100%;
    height: 100%;
}
footer ul>li{
    width: 33.33333333%;
    border-right: 1px solid #bbbbbb;
    float: left;
    height: 100%;
    text-align: center;
    line-height: 3.5em;
    cursor: pointer;
    position:relative;
}
footer ul>li:last-of-type{
    border-right: none;
}
footer ul>li>ol{
    width:92%;
    position: absolute;
    left: 4%;
    bottom: 4.0em;
    border: 1px solid #bbbbbb;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    display: none;
    background: #FFF;
}
footer ul>li>ol:after{
    content:'';
    position:absolute;
    bottom: -12px;
    margin-left:-3px;
    left: 50%;
    border-color: #bbbbbb transparent transparent transparent;
    border-style: solid;
    border-width: 6px;
    z-index:2;
}
footer ul>li>ol:before{
    content:'';
    position:absolute;
    bottom: -10px;
    margin-left:-2px;
    left: 50%;
    border-color: #FFF transparent transparent transparent;
    border-style: solid;
    border-width: 5px;
    z-index: 5;
}
footer ul>li>ol>li{
    width: 100%;
    height: 2.5em;
    text-align: center;
    line-height:2.5em;
}
footer ul>li>ol>li:active{
    background:rgba(202,202,202,0.3);
}
footer ul>li>ol>li>a{
    width: 96%;
    margin:0px auto;
    border-bottom: 1px solid #bbbbbb;
    display:block;
    height: 100%;
    color:#4a4a4a;
}
footer ul>li>ol>li:last-of-type a{
    border-bottom: none;
}
.img{
    text-align: center;
    margin-top: 15px;
}
.img img{
    width: 95%;
}